
public class main {
	
	int a;
	int b;
	
	int sum;
	
	public main() {
		a = 10;
		b = 20;
		
		sum = 0;
	}
	
	public void add() {
		sum = a + b;
		this.sum = sum;
	}

}
